package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    //新增套餐并保持菜品关联
    public void saveWithDish(SetmealDto setmealDto);

    //根据Id查询菜品信息和口味
    public SetmealDto getByIdWithDish(Long id);

    /*
        更新套餐
     */
    public void updateWithDish(SetmealDto setmealDto);

    //删除套餐
    public void removeWithDish(List<Long> ids);



}
